<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>表格练习-css样式</title>
    <style>
        th {
            height: 35px;
        }
        
        table {
            width: 500px;
            height: 300px;
            text-align: center;
        }
        
        table,
        td,
        th {
            border: 1px solid blue;
            border-collapse: collapse;
        }
    </style>
</head>

<body>
    <br>

    <table align="center">
        <thead>
            <tr>
                <th>排名</th>
                <th>关键词</th>
                <th>趋势</th>
                <th>今日搜索</th>
                <th>最近七日</th>
                <th>相关链接</th>
            </tr>
        </thead>
        <tbody>
            <tr>
                <td>1</td>
                <td>鬼吹灯</td>
                <td><img src="#" alt="上升"></td>
                <td>355</td>
                <td>123</td>
                <td><a href="#">贴吧</a> <a href="#">图片</a> <a href="#">百科</a></td>
            </tr>
            <tr>
                <td>2</td>
                <td>西游记</td>
                <td><img src="#" alt="下降"></td>
                <td>445</td>
                <td>5645</td>
                <td><a href="#">贴吧</a> <a href="#">图片</a> <a href="#">百科</a></td>
            </tr>
            <tr>
                <td>3</td>
                <td>东游记</td>
                <td></td>
                <td></td>
                <td></td>
                <td></td>
            </tr>
            <tr>
                <td>4</td>
                <td></td>
                <td></td>
                <td></td>
                <td></td>
                <td></td>
            </tr>
            <tr>
                <td>5</td>
                <td></td>
                <td></td>
                <td></td>
                <td rowspan="2">跨行合并rowspan</td>
                <td></td>
            </tr>
            <tr>
                <td>6</td>
                <td></td>
                <td></td>
                <td></td>

                <td></td>
            </tr>
            <tr>
                <td>7</td>
                <td></td>
                <td></td>
                <td></td>
                <td colspan="2">跨列合并colspan</td>

            </tr>
        </tbody>
    </table>
</body>

</html>